﻿@model AlmaDatabase.User

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>User</legend>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">Firstname</div>
    <div class="display-field">@Model.Firstname</div>

    <div class="display-label">Email</div>
    <div class="display-field">@Model.Email</div>

    <div class="display-label">Address</div>
    <div class="display-field">@Model.Address</div>

    <div class="display-label">Zipcode</div>
    <div class="display-field">@Model.Zipcode</div>

    <div class="display-label">Town</div>
    <div class="display-field">@Model.Town</div>

    <div class="display-label">Country</div>
    <div class="display-field">@Model.Country</div>
</fieldset>
<p>
    @Html.ActionLink("See Shops", "IndexByUserId", "Shop", new { userId=Model.ID }, null) |
    @Html.ActionLink("Edit", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
</p>

